<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- es6无法直接导入运行的需要借助Babel转换器  采用 html模拟es6模块导入-->
    <script type="module">
        //导入默认
        import x from './1.js'
        console.log(x)

     


    </script>
    
</body>
</html>